package com.campus.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("t_manager_teacher")
public class ManagerTeacher {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("teacher_name")
    private String teacherName;

    @TableField("subject")
    private String subject;

    @TableField("profession")
    private String profession;

    @TableField("school")
    private String school;

    @TableField("introduce")
    private String introduce;

    @TableField("login_id")
    private Integer loginId;
}
